/*
* Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  The implementation proxy table for this ECom plugin. Each entry
*               in the array lists an implementation UID corresponding to the
*               implementation_uid member of the IMPLEMENTATION_INFO structure
*               in the plugin registration RSS file, as well as the function
*               used to instantiate that implementation.
*
*               As this plugin implements exactly one interface, there is only
*               one IMPLEMENTATION_PROXY_ENTRY in the table. It is possible to
*               have more interface implementations in a single plugin - each
*               just needs to be listed as a separe IMPLEMENTATION_PROXY_ENTRY
*               entry in the table.
*/

#include <implementationproxy.h>

#include "contenthandler.h"
#include "constants.hrh"

/** The implementaion UID to class construction function mapping table. */
const TImplementationProxy implementationProxyTable[] =
    {
    IMPLEMENTATION_PROXY_ENTRY(
        KContentHandlerImplementationUid,
        CContentHandler::NewL )
    };

// ---------------------------------------------------------------------------
// Function used to return the implementation proxy table.
// ---------------------------------------------------------------------------
//
EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
    {
    aTableCount = sizeof(implementationProxyTable) / sizeof(TImplementationProxy);
    
    return implementationProxyTable;
    }

